﻿namespace Model.DomainModel.Sys
{
    /// <summary>
    /// 按钮模型
    /// </summary>
    public class SysButton
    {
        /// <summary>
        /// 按钮主键
        /// </summary>
        public string? ButtonId { get; set; }

        /// <summary>
        /// 菜单id
        /// </summary>
        public string? MenuId { get; set; }

        /// <summary>
        /// 公司key
        /// </summary>
        public string? CorporationKey { get; set; }

        /// <summary>
        /// 系统key
        /// </summary>
        public string? SystemKey { get; set; }

        /// <summary>
        /// 按钮权限类型
        /// </summary>
        public int ButtonRoleType { get; set; }

        /// <summary>
        /// 样式id
        /// </summary>
        public string? ButtonStyleId { get; set; }

        /// <summary>
        /// 按钮名称
        /// </summary>
        public string? ButtonName { get; set; }

        /// <summary>
        /// 按钮key（事件）
        /// </summary>
        public string? ButtonKey { get; set; }

        /// <summary>
        /// 规则id
        /// </summary>
        public string? RuleId { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int OrderBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人员
        /// </summary>
        public string? CreateUser { get; set; }
    }
}
